<extend name="Public/base"/>
<block name="body">
    <div class="main-title">
        <h2>接口详情</h2>
    </div>
    <div  class="form-horizontal">
        <div class="form-item">
            <label class="item-label">接口代码：<span class="check-tips">{$api.api_code|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">接口名称：<span class="check-tips">{$api.api_name|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">接口模块：<span class="check-tips">{$api.api_module|default='Home'}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">接口控制器：<span class="check-tips">{$api.api_controller|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">接口操作：<span class="check-tips">{$api.api_action|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">请求方式：<span class="check-tips">{$api.api_method_text}</span></label>
        </div>
        
        <div class="form-item">
            <label class="item-label">接口参数签名<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$api.api_sign_note|default=''}</div>
            </div>
        </div>
        
        <div class="form-item">
            <label class="item-label">接口系统参数<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$api.api_sysparam_note|default=''}</div>
            </div>
        </div>
        
        <div class="form-item">
            <label class="item-label">接口参数<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$api.api_param|default=''}</div>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">接口功能说明<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$api.api_desc|default='无'}</div>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">接口请求示例<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$api.api_example|default=''}</div>
            </div>
        </div>
        <div class="form-item">
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Api/apiList')}');
    </script>
</block>
